package com.peas.platform.module.icims.budget.ysy.controller.vo;

import java.util.*;

import com.peas.platform.common.core.vo.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.*;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("预算域二级项目同步记录")
public class BudgetYsyProjectTwoSyncVo extends BaseVo {

    @ApiModelProperty(value = "二级项目ID", notes = "")
    private Long projectTwoId;

    @ApiModelProperty(value = "同步时间", notes = "")
    private Date syncTime;

    // 0自动、1手动
    @ApiModelProperty(value = "同步方式", notes = "")
    @Size(max = 20, message = "同步方式不能超过20个字符")
    private String syncType;

    @ApiModelProperty(value = "同步结果", notes = "")
    @Size(max = 100, message = "同步结果不能超过100个字符")
    private String syncResult;

    @ApiModelProperty(value = "请求Header", notes = "")
    private String requestHeader;

    @ApiModelProperty(value = "请求Body", notes = "")
    private String requestBody;

    @ApiModelProperty(value = "响应Header", notes = "")
    private String responseHeader;

    @ApiModelProperty(value = "响应Body", notes = "")
    private String responseBody;

}
